﻿using HeadFirest._08.IteratorAndComponet._01.Menus;
using System;
using System.Collections.Generic;
using System.Text;

namespace HeadFirest._08.IteratorAndComponet._01.Waitresses
{
    public class Waitress
    {
        Menucomponent _allMenus;

        public Waitress(Menucomponent allMenus)
        {
            _allMenus = allMenus;
        }
        public void PrintMenu() 
        {
            _allMenus.Print();
        }
    }
}
